Home
PHP
Tags
PHP Tutorial
Latest Articles
English
English
简体中文
中文(繁體)
日本語
한국어
Français
Deutsch
မြန်မာဘာသာ
Current Location:
Home
>
Function Categories
>
date_diff
date_diff
Alias for DateTime::diff - Returns the difference between two DateTime objects
Name:
date_diff
Category:
Date and time
Programming Language:
php
One-line Description:
Returns the difference between two days.
Related
Best practices for creating associative arrays with array_combine
9
How to improve the performance of PHP applications through session_gc?
7
Correct cooperation between curl_multi_close and curl_multi_add_handle
5
Proper Use of Indexes in PHP Loops and Best Practices
9
Similar Functions
idate
idate
Formatlocaltime/date
date_create_immutable
date_create_immutable
DateTimeImmutable::_
timezone_name_from_abbr
timezone_name_from_abbr
Returnthetimezonenam
date_interval_format
date_interval_format
AliasforDateInterv
date_sunset
date_sunset
Returnsthesunsettime
date_diff
date_diff
AliasforDateTime::
timezone_open
timezone_open
AliasforDateTimeZo
mktime
mktime
GetaUnixtimestampfor
Popular Articles